package com.fire.service.impl;

import java.sql.SQLException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fire.bo.title.req.TitleReq;
import com.fire.bo.title.res.TitleRes;
import com.fire.dao.TitleDao;
import com.fire.service.TitleService;

@Service
public class TitleServiceImpl implements TitleService {

	@Autowired
	private TitleDao titleDao;

	@Override
	public void updateTitle(TitleReq bean) throws SQLException {
		titleDao.updateTitle(bean);
	}

	@Override
	public TitleRes findTitle() throws SQLException {
		return titleDao.findTitle();
	}
	
}
